how to represent directed weighted graph using matrix

welcome to shbcf.ru